package com.dt76.smallloanbackenduser.pojo.etao;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class Employee implements Serializable {

    private int eId;
    private String empName;
    private String empPasswrod;
    private String empLoginName;//登录名
    private String phone;
    private String email;
    private int did;//部门id
    private int rid;
    private int enable;
    private Date createTime;
    private int createBy;
    private Date modifyTime;
    private int modifyBy;
    //一个员工对应多个角色
    private Role role;
    private String roleStr;
    //一个员工对应多个权限菜单
    private List<String> meuns;
    //员工的部门信息
    private Department empDep;
    //创建时间的字符型
    private String createTimeStr;



    public String getCreateTimeStr() {
        return createTimeStr;
    }

    public void setCreateTimeStr(String createTimeStr) {
        this.createTimeStr = createTimeStr;
    }

    public int getRid() {
        return rid;
    }

    public void setRid(int rid) {
        this.rid = rid;
    }

    public String getRoleStr() {
        return roleStr;
    }

    public void setRoleStr(String roleStr) {
        this.roleStr = roleStr;
    }

    public List<String> getMeuns() {
        return meuns;
    }

    public void setMeuns(List<String> meuns) {
        this.meuns = meuns;
    }

    public Department getEmpDep() {
        return empDep;
    }

    public void setEmpDep(Department empDep) {
        this.empDep = empDep;
    }

    public Employee() {
    }

    public Employee(int eId, String empName, String empPasswrod, String empLoginName, String phone, String email, int did, int enable, Date createTime, int createBy, Date modifyTime, int modifyBy, Role role) {
        this.eId = eId;
        this.empName = empName;
        this.empPasswrod = empPasswrod;
        this.empLoginName = empLoginName;
        this.phone = phone;
        this.email = email;
        this.did = did;
        this.enable = enable;
        this.createTime = createTime;
        this.createBy = createBy;
        this.modifyTime = modifyTime;
        this.modifyBy = modifyBy;
        this.role = role;
    }

    public int geteId() {
        return eId;
    }

    public void seteId(int eId) {
        this.eId = eId;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public String getEmpPasswrod() {
        return empPasswrod;
    }

    public void setEmpPasswrod(String empPasswrod) {
        this.empPasswrod = empPasswrod;
    }

    public String getEmpLoginName() {
        return empLoginName;
    }

    public void setEmpLoginName(String empLoginName) {
        this.empLoginName = empLoginName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getDid() {
        return did;
    }

    public void setDid(int did) {
        this.did = did;
    }

    public int getEnable() {
        return enable;
    }

    public void setEnable(int enable) {
        this.enable = enable;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getCreateBy() {
        return createBy;
    }

    public void setCreateBy(int createBy) {
        this.createBy = createBy;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public int getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(int modifyBy) {
        this.modifyBy = modifyBy;
    }

    public Role getRoles() {
        return role;
    }

    public void setRoles(Role role) {
        this.role = role;
    }
}
